package com.gxa.service.controller;

import com.gxa.common.base.RespResult;
import com.gxa.service.service.ServiceSlabelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/label")
public class ServiceSlabelController {
    @Autowired
    private ServiceSlabelService service;

    /**
     * 根据set服务id查寻标签
     * @param id
     * @return
     */
    @GetMapping("/findAllLabel")
    public RespResult findAllLabel(Integer id){
        return service.findAllLabel(id);
    }

}
